<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>Document</title>
  </head>
  <body>
    <script>
      try {
        // var o = { ; };	// 语法错误
      } catch(e) {
        console.log(e.message);
      }
    </script>
  </body>
</html>